{extend name="base" /}
{block name="body"}



<div class="banner am-text-center">
	<div class="am-container">
		<h1>留言</h1>
	</div>
</div>


<div class="am-container">


	<div class="am-padding am-scrollable-horizontal">
		<table class="am-table am-table-bd am-table-striped am-text-nowrap admin-content-table">
			<thead>
				<tr>
					<th>ID</th>
					<th>称呼</th>
					<th>手机号</th>
					<th>地址</th>
					<th>时间</th>
				</tr>
			</thead>
			<tbody>
				{foreach name="list" item="vo"}
				<tr>
					<td class="am-text-middle">{$vo.id}</td>
					<td class="am-text-middle">{$vo.name}</td>
					<td class="am-text-middle">{$vo.mobile}</td>
					<td class="am-text-middle">{$vo.ip_address}</td>
					<td class="am-text-middle">{$vo.create_time|date='Y-m-d H:s'}</td>
				</tr>
				{/foreach}
				

			</tbody>
		</table>
	</div>


	<p><a class="am-btn am-btn-default" href="{:url('message_add')}">留言</a></p>


</div>



{/block}